package com.project.livetv.fragment;

import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import com.project.livetv.R;

/**
 * Created by ASUS on 2016/5/11.
 */
public class FocusFragmentNew extends Fragment {

    private String tab;
    private TextView tabtextview;

    public static FocusFragmentNew newInstance(String tab) {
        Bundle args = new Bundle();
        args.putString("tab",tab);
        FocusFragmentNew fragment = new FocusFragmentNew();
        fragment.setArguments(args);
        return fragment;
    }

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

    }

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        View rootview = inflater.inflate(R.layout.feagment_focus,container,false);
//        tabtextview = (TextView) rootview.findViewById(R.id.tv_feagment_focus);
//        tabtextview.setText(tab);
        return rootview;

    }
}
